<?php

function clear($str) {
  return htmlentities(addslashes($str));
  }

?>